package com.example.source;

import com.example.annotations.ConvertTargetClass;
import com.example.annotations.ConvertTargetField;
import com.example.target.TargetConver;

import java.util.ArrayList;
import java.util.List;

@ConvertTargetClass(value = TargetConver.class)
public class SourceConver {

    @ConvertTargetField(name = "id")
    private String id;

    @ConvertTargetField(name = "name")
    private String name;

    @ConvertTargetField(name = "type")
    private String type;

    @ConvertTargetClass(value = TargetConver.class)
    private SourceBasic basic;

    @ConvertTargetField(name = "operations",type = String.class)
    private List<String> operations = new ArrayList<String>();


}
